package com.shop.cloud.service.system;

import java.util.List;
import java.util.Map;

import com.shop.cloud.common.mybatis.BaseServiceI;
import com.shop.cloud.domain.system.SysResource;

public interface ISysResourceService extends BaseServiceI<SysResource> {
    
	List<String> findRoleResource(Long roleId);

	List<SysResource> findMenusByUserId(Long userId);

	List<SysResource> findPermissionsByUserId(Long userId);

	int insert(SysResource entity, String roleIds);

	void deleteResource(SysResource sysResource);

	List<Map<String, Object>> list(Map<String, Object> params);
	
}